#pragma once

#include "XMLNode.h"



class GTDRepeatSet
{
public:
	NODE_CONVERSION(GTDRepeatSet,XMLNode)

	static TCHAR REPEAT_NO[];
	static TCHAR REPEAT_DAILY[];
	static TCHAR REPEAT_WEEKLY[];
	static TCHAR REPEAT_MONTHLY[];
	static TCHAR REPEAT_YEARLY[];
	static TCHAR REPEAT_DAYSET[];
};
//
class GTDContext : public XMLNode
{
	NODE_CONVERSION(GTDContext,XMLNode)
public:
	GTDContext nextContext();

	void setTimeFrom();
	void setTimeTo();


};






class GTDContextList : public XMLNode
{
	NODE_CONVERSION(GTDContextList,XMLNode)

	GTDContext firstContext();
	GTDContext addContext(const TCHAR* sName);

};